package com.assignwork.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.mp.base.BaseEntity;

@Data
@TableName("assign_work_info")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "AssignWorkInfo对象", description = "二级配工详情")
public class AssignWorkInfo extends BaseEntity {

    @JsonSerialize(using = ToStringSerializer.class)
    private Long assignWorkId;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long mechanicalId;
    private String mechanicalNo;
    private String mechanicalName;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long workerId;
    private String workerName;
    private String workerNo;
    private String adjustmentType;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long adjustmentTeamId;
    private String adjustmentTeamName;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long adjustmentGroupId;
    private String adjustmentGroupName;
    private Integer workerNumber;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long cabinInfoId;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long arrangeInfoId;


}